<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    {% block head %}
        <title>Title</title>{% comment %}在父模板中留一个空间给子模板填充{% endcomment %}
    {% endblock head %}

</head>
<body>
<h1>我是父模板</h1>
{% block body %}
    <h1>我是你爸爸模板中的body</h1>
{% endblock %}
</body>
</html>